package com.beerbear.nacossecondservice.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.HashMap;

/**
 * @Author: Beer Bear
 * @Description: 调用服务一的客户端
 * @Date: 2021/8/23 15:46
 */
@FeignClient(value = "nacos-first-service")
public interface FirstServiceClient {

    @GetMapping("/firstService/call")
    HashMap feignCall();
}
